﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YiYiTong.Rocket.Model.Manager
{
    /// <summary>
    /// 功能树
    /// </summary>
    public class ActionTree
    {
        public ActionTree()
        {
            m_checked = false;
            expanded = true;
            children = new List<ActionTree>();
        }
        /// <summary>
        /// ActionID
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 功能描述文本
        /// </summary>
        public string text { get; set; }
        /// <summary>
        /// 节点是否展开，默认展开
        /// </summary>
        public bool expanded { get; set; }
        /// <summary>
        /// 是否选中，默认False
        /// </summary>
        public bool m_checked { get; set; }
        /// <summary>
        /// 子节点集合
        /// </summary>
        public List<ActionTree> children { get; set; }
    }
}
